package com.ym.pms.dao;

import com.ym.pms.model.Notice;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface NoticeDao {
    int deleteByPrimaryKey(Integer notId);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer notId);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    List<Notice> findAll();
}